package wjl.project.dubboelabauthconsumer.Repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import wjl.project.dubboelabauthconsumer.Entity.EUser;

import java.util.Optional;

@Repository
public interface EUserRepository extends JpaRepository<EUser,Long> {

   Optional<EUser> findByMobilePhone(String phone);

}
